#[derive(Clone, Default)]
#[spring_axum_macros::component]
pub struct UserMapper;

#[spring_axum_macros::mapper]
impl UserMapper {
    #[spring_axum_macros::sql]
    pub fn save_profile(&self, username: &str, email: &str) -> spring_axum::AppResult<()> {}

    #[spring_axum_macros::sql]
    pub fn search(&self, username: Option<&str>, email_like: Option<&str>) -> spring_axum::AppResult<()> {}

    #[spring_axum_macros::sql]
    pub fn find_by_ids(&self, ids: &[i64]) -> spring_axum::AppResult<()> {}
}